Optimal. Leaf size=53 \[ -\frac{x^2 (a B-A b x)}{3 a b \left (a+b x^2\right )^{3/2}}-\frac{2 B}{3 b^2 \sqrt{a+b x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0217641, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {805, 261} \[ -\frac{x^2 (a B-A b x)}{3 a b \left (a+b x^2\right )^{3/2}}-\frac{2 B}{3 b^2 \sqrt{a+b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 805
Rule 261
Rubi steps
\begin{align*} \int \frac{x^2 (A+B x)}{\left (a+b x^2\right )^{5/2}} \, dx &=-\frac{x^2 (a B-A b x)}{3 a b \left (a+b x^2\right )^{3/2}}+\frac{(2 B) \int \frac{x}{\left (a+b x^2\right )^{3/2}} \, dx}{3 b}\\ &=-\frac{x^2 (a B-A b x)}{3 a b \left (a+b x^2\right )^{3/2}}-\frac{2 B}{3 b^2 \sqrt{a+b x^2}}\\ \end{align*}
Mathematica [A] time = 0.0169559, size = 44, normalized size = 0.83 \[ \frac{-2 a^2 B-3 a b B x^2+A b^2 x^3}{3 a b^2 \left (a+b x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 41, normalized size = 0.8 \begin{align*}{\frac{A{x}^{3}{b}^{2}-3\,B{x}^{2}ab-2\,B{a}^{2}}{3\,a{b}^{2}} \left ( b{x}^{2}+a \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01277, size = 95, normalized size = 1.79 \begin{align*} -\frac{B x^{2}}{{\left (b x^{2} + a\right )}^{\frac{3}{2}} b} - \frac{A x}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}} b} + \frac{A x}{3 \, \sqrt{b x^{2} + a} a b} - \frac{2 \, B a}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}} b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.54911, size = 128, normalized size = 2.42 \begin{align*} \frac{{\left (A b^{2} x^{3} - 3 \, B a b x^{2} - 2 \, B a^{2}\right )} \sqrt{b x^{2} + a}}{3 \,{\left (a b^{4} x^{4} + 2 \, a^{2} b^{3} x^{2} + a^{3} b^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 10.6081, size = 141, normalized size = 2.66 \begin{align*} \frac{A x^{3}}{3 a^{\frac{5}{2}} \sqrt{1 + \frac{b x^{2}}{a}} + 3 a^{\frac{3}{2}} b x^{2} \sqrt{1 + \frac{b x^{2}}{a}}} + B \left (\begin{cases} - \frac{2 a}{3 a b^{2} \sqrt{a + b x^{2}} + 3 b^{3} x^{2} \sqrt{a + b x^{2}}} - \frac{3 b x^{2}}{3 a b^{2} \sqrt{a + b x^{2}} + 3 b^{3} x^{2} \sqrt{a + b x^{2}}} & \text{for}\: b \neq 0 \\\frac{x^{4}}{4 a^{\frac{5}{2}}} & \text{otherwise} \end{cases}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18286, size = 49, normalized size = 0.92 \begin{align*} \frac{{\left (\frac{A x}{a} - \frac{3 \, B}{b}\right )} x^{2} - \frac{2 \, B a}{b^{2}}}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]